package com.woniu.register.service.impl;

import com.woniu.register.entity.Check;
import com.woniu.register.mapper.CheckMapper;
import com.woniu.register.service.CheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author ：zhulongxing
 * @date ：Created in 2022/12/6 19:20
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class CheckServiceImpl implements CheckService {
    @Autowired
    CheckMapper checkMapper;
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    public int insert(Check record) {
        return 0;
    }
    public int pinsertSelective(Check record) {
        checkMapper.insertSelective(record);
        return record.getCheckId();
    }
    public int insertSelective(Check record) {
        return checkMapper.insertSelective(record);
    }

    public Check selectByPrimaryKey(Long id) {
        return null;
    }

    public int updateByPrimaryKeySelective(Check record) {
        return 0;
    }

    public int updateByPrimaryKey(Check record) {
        return 0;
    }
}
